package com.open.cloud.rbac.service.user;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.open.cloud.rbac.entity.user.CoreUser;
import com.open.cloud.rbac.object.user.CoreUserDto;
import com.open.cloud.rbac.object.user.CoreUserSelectDto;
import com.open.cloud.rbac.object.user.CoreUserVo;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author wangzengzhou01
 * @since 2024-12-23
 */
public interface ICoreUserService extends IService<CoreUser> {

    /**
     * 分页查询用户
     *
     * @param userSelectDto
     * @return
     */
    public IPage<CoreUserVo> getUserByPage(CoreUserSelectDto userSelectDto);


    /**
     * 创建用户信息
     *
     * @param userDto
     * @return
     */
    public JSONObject createUserInfo(CoreUserDto userDto);

    /**
     * 修改用户信息
     *
     * @param userDto
     * @return
     */
    public JSONObject changeUserInfo(CoreUserDto userDto);


}
